package com.xiaoxin.yixinai.activity.introduction;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.xiaoxin.yixinai._frame.base.BaseModel;

/**
 * 活动内容表
 * @author wsg
 *
 */
@Entity
@Table(name = "tb_activity_introduction")
public class Introduction extends BaseModel {

    /**
     * 主键
     */
    @Id
    @Column(name = "id")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;
    
    /**
     * 活动id
     */
    @Column(name = "activity_id")
    private Integer activityId;
    
    /**
     * 标题
     */
    @Column(name = "intro_file_name")
    private String introFileName;
    
    /**
     * 内容	
     */
    @Column(name = "intro_text")
    private String introText;
    
    /**
     * 类型（1图片；2视频；3文本）
     */
    @Column(name = "intro_type")
    private Integer introType;
    
    /**
     * 排序
     */
    @Column(name = "order_index")
    private Integer orderIndex;
    
    @Column(name = "company_id")
    private Integer companyId;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getActivityId() {
		return activityId;
	}

	public void setActivityId(Integer activityId) {
		this.activityId = activityId;
	}

	public String getIntroFileName() {
		return introFileName;
	}

	public void setIntroFileName(String introFileName) {
		this.introFileName = introFileName;
	}

	public String getIntroText() {
		return introText;
	}

	public void setIntroText(String introText) {
		this.introText = introText;
	}

	public Integer getIntroType() {
		return introType;
	}

	public void setIntroType(Integer introType) {
		this.introType = introType;
	}

	public Integer getOrderIndex() {
		return orderIndex;
	}

	public void setOrderIndex(Integer orderIndex) {
		this.orderIndex = orderIndex;
	}

	public Integer getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}

	
    
}
